package etc;

public class ForContinueSwitch {
    public static void main(String[] args) {
        Day d = Day.SUNDAY;
        for (int i = 0; i < 5; i++) {
            switch (d) {
            case SUNDAY:
                System.out.println("curr " + i);
                if (i == 3)
                    continue;
                System.out.println("curr " + i);
                break;
            default:
                System.out.println("default " + i);
            }
        }
    }

    public enum Day {
        SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
    }
}
